package com.kele.model.order;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
@TableName("tb_order_item")
public class OrderItem implements Serializable {
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;
    private Long goodsId;
    private Long orderId;
    private String title;
    private BigDecimal price;//单价

    private String picPath;

    private Integer num;//购买数量
    private BigDecimal totalFee;//订单项总金额

}
